package crazy.collection;

import java.util.Vector;


public class HaierTV implements Television
{
	private Vector channel;
	public HaierTV()
	{
		channel = new Vector();
		channel.addElement(new Item("1"));
		channel.addElement(new Item("2"));
		channel.addElement(new Item("3"));
		channel.addElement(new Item("4"));
		channel.addElement(new Item("5"));
	}
	
	@Override
	public Iterator createIterator()
	{
		return new Controller(channel);
	}

	@Override
	public Vector getChannel()
	{
		return channel;
	}
	
}
